<template>
  <div class="box">
    <to-back :title="'填写商品属性'" @update-page="updatePage"></to-back>
    <div class="globelbox">
      <my-step-box :index="2"></my-step-box>
      <el-input v-model="value"></el-input>
      <el-button @click="lastStep">上一步</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'over',
  data() {
    return {
      value: ''
    }
  },
  methods: {
    updatePage() {
      alert('父组件收到了')
    },
    lastStep() {
      this.$router.push('/goods/addGoods/xie')
    }
  }
}
</script>

<style lang="less" scoped>
.tobackbox /deep/ .right {
  width: 0;
  overflow: hidden;
}
</style>
